using System;
using DevExpress.Xpo;

namespace BusinessObjects
{

    public class Quan : XPObject
    {
        public Quan()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public Quan(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        //Fields

        private string _tenQuanHuyen;
        [DbType("nvarchar(50)")]
        public string TenQuanHuyen
        {
            get { return _tenQuanHuyen; }
            set { _tenQuanHuyen = value; }
        }
        private TinhThanh _tinhThanh;
        [DbType("int")]
        public TinhThanh TinhThanh
        {
            get { return _tinhThanh; }
            set { _tinhThanh = value; }
        }
    }

}